<template>
	<view class="loading">
		<text class="loading-text" v-show="showLoadingText">Loading ...</text>
		<image class="loading-img" src="../../static/img/img_loading.gif" mode="widthFix" />
	</view>
</template>

<script>
	export default {
		props:{
			loadtext:String
		},
		data(){
			return {
				showLoadingText: false,
			}
		}
	}
</script>

<style scoped>
.loading{
	flex: 1;
    color: #CCCCCC;
	padding: 15upx;
    font-size: 46upx;
    font-weight: bold;
	text-align: center;
    padding-top: 100upx;
}
.loading-img {
	width: 300rpx;
	height: 300rpx;
}
</style>
